package com.lx.information.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信息导入记录对象 information_import_record
 *
 * @author lx
 * @date 2023-04-03
 */
public class InformationImportRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 上传人 */
    @Excel(name = "上传人")
    private Long uploadBy;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    /** 执行状态(数据字典) */
    @Excel(name = "执行状态(数据字典)")
    private String executionStatus;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String fileUrl;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 失败原因 */
    @Excel(name = "失败原因")
    private String failureReason;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUploadBy(Long uploadBy)
    {
        this.uploadBy = uploadBy;
    }

    public Long getUploadBy()
    {
        return uploadBy;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setExecutionStatus(String executionStatus)
    {
        this.executionStatus = executionStatus;
    }

    public String getExecutionStatus()
    {
        return executionStatus;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setFailureReason(String failureReason)
    {
        this.failureReason = failureReason;
    }

    public String getFailureReason()
    {
        return failureReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("uploadBy", getUploadBy())
                .append("fileName", getFileName())
                .append("executionStatus", getExecutionStatus())
                .append("fileUrl", getFileUrl())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("failureReason", getFailureReason())
                .toString();
    }
}
